<template>
  <div id="app">
    <router-view/>
    <!--返回顶部-->
     <w-back-top/>
    <!--百度统计-->
    <b-d-statistical/>
  </div>
</template>

<script lang="ts">
import { Component, Vue, Provide } from 'vue-property-decorator'
import WBackTop from '@/components/pc/backTop/index.vue'
import BDStatistical from '@/components/pc/statistical/index.vue'

@Component({
  components: {
    WBackTop,
    BDStatistical,
  },
})
export default class Home extends Vue {
  @Provide() private bgImage(url: string, data: { backgroundImage?: string } = {}) {
    if (url) {
      data.backgroundImage = 'url(' + url + ')'
    }
    return data
  }
}
</script>
<style>
</style>
